# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/media/sda6/Project/PyQt/Matos/App/tenantRel/unitTypeEdit.ui'
#
# Created: Sat Jan 24 08:56:02 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_unitTypeEditDlg(object):
    def setupUi(self, unitTypeEditDlg):
        unitTypeEditDlg.setObjectName("unitTypeEditDlg")
        unitTypeEditDlg.resize(QtCore.QSize(QtCore.QRect(0,0,523,290).size()).expandedTo(unitTypeEditDlg.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(unitTypeEditDlg)
        self.gridlayout.setObjectName("gridlayout")

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setObjectName("vboxlayout")

        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setObjectName("gridlayout1")

        self.label = QtGui.QLabel(unitTypeEditDlg)
        self.label.setObjectName("label")
        self.gridlayout1.addWidget(self.label,0,0,1,1)

        self.id_le = QtGui.QLineEdit(unitTypeEditDlg)
        self.id_le.setObjectName("id_le")
        self.gridlayout1.addWidget(self.id_le,0,1,1,1)

        spacerItem = QtGui.QSpacerItem(311,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem,0,2,1,1)

        self.label_2 = QtGui.QLabel(unitTypeEditDlg)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2,1,0,1,1)

        self.name_le = QtGui.QLineEdit(unitTypeEditDlg)
        self.name_le.setObjectName("name_le")
        self.gridlayout1.addWidget(self.name_le,1,1,1,2)

        self.label_4 = QtGui.QLabel(unitTypeEditDlg)
        self.label_4.setObjectName("label_4")
        self.gridlayout1.addWidget(self.label_4,2,0,1,1)

        self.sc_le = QtGui.QLineEdit(unitTypeEditDlg)
        self.sc_le.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.sc_le.setObjectName("sc_le")
        self.gridlayout1.addWidget(self.sc_le,2,1,1,1)

        spacerItem1 = QtGui.QSpacerItem(321,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem1,2,2,1,1)

        self.label_7 = QtGui.QLabel(unitTypeEditDlg)
        self.label_7.setObjectName("label_7")
        self.gridlayout1.addWidget(self.label_7,3,0,1,1)

        self.sf_le = QtGui.QLineEdit(unitTypeEditDlg)
        self.sf_le.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.sf_le.setObjectName("sf_le")
        self.gridlayout1.addWidget(self.sf_le,3,1,1,1)

        spacerItem2 = QtGui.QSpacerItem(321,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem2,3,2,1,1)

        self.label_8 = QtGui.QLabel(unitTypeEditDlg)
        self.label_8.setObjectName("label_8")
        self.gridlayout1.addWidget(self.label_8,4,0,1,1)

        self.rate_le = QtGui.QLineEdit(unitTypeEditDlg)
        self.rate_le.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.rate_le.setObjectName("rate_le")
        self.gridlayout1.addWidget(self.rate_le,4,1,1,1)

        spacerItem3 = QtGui.QSpacerItem(321,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem3,4,2,1,1)

        self.label_11 = QtGui.QLabel(unitTypeEditDlg)
        self.label_11.setObjectName("label_11")
        self.gridlayout1.addWidget(self.label_11,5,0,1,1)

        self.range_le = QtGui.QLineEdit(unitTypeEditDlg)
        self.range_le.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.range_le.setObjectName("range_le")
        self.gridlayout1.addWidget(self.range_le,5,1,1,1)

        spacerItem4 = QtGui.QSpacerItem(321,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem4,5,2,1,1)

        self.label_5 = QtGui.QLabel(unitTypeEditDlg)
        self.label_5.setObjectName("label_5")
        self.gridlayout1.addWidget(self.label_5,6,0,1,1)

        self.note_le = QtGui.QLineEdit(unitTypeEditDlg)
        self.note_le.setObjectName("note_le")
        self.gridlayout1.addWidget(self.note_le,6,1,1,2)
        self.vboxlayout.addLayout(self.gridlayout1)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

        spacerItem5 = QtGui.QSpacerItem(99,28,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem5)

        self.save_pb = QtGui.QPushButton(unitTypeEditDlg)
        self.save_pb.setObjectName("save_pb")
        self.hboxlayout.addWidget(self.save_pb)

        self.cancel_pb = QtGui.QPushButton(unitTypeEditDlg)
        self.cancel_pb.setObjectName("cancel_pb")
        self.hboxlayout.addWidget(self.cancel_pb)

        spacerItem6 = QtGui.QSpacerItem(99,28,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem6)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.gridlayout.addLayout(self.vboxlayout,0,0,1,1)
        self.label.setBuddy(self.id_le)
        self.label_2.setBuddy(self.name_le)
        self.label_4.setBuddy(self.sc_le)
        self.label_7.setBuddy(self.sf_le)
        self.label_8.setBuddy(self.rate_le)
        self.label_11.setBuddy(self.range_le)
        self.label_5.setBuddy(self.note_le)

        self.retranslateUi(unitTypeEditDlg)
        QtCore.QMetaObject.connectSlotsByName(unitTypeEditDlg)
        unitTypeEditDlg.setTabOrder(self.id_le,self.name_le)
        unitTypeEditDlg.setTabOrder(self.name_le,self.sc_le)
        unitTypeEditDlg.setTabOrder(self.sc_le,self.sf_le)
        unitTypeEditDlg.setTabOrder(self.sf_le,self.rate_le)
        unitTypeEditDlg.setTabOrder(self.rate_le,self.range_le)
        unitTypeEditDlg.setTabOrder(self.range_le,self.note_le)
        unitTypeEditDlg.setTabOrder(self.note_le,self.save_pb)
        unitTypeEditDlg.setTabOrder(self.save_pb,self.cancel_pb)

    def retranslateUi(self, unitTypeEditDlg):
        unitTypeEditDlg.setWindowTitle(QtGui.QApplication.translate("unitTypeEditDlg", "Unit Type", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("unitTypeEditDlg", "ID:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("unitTypeEditDlg", "Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("unitTypeEditDlg", "SC Price:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("unitTypeEditDlg", "SF Price:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("unitTypeEditDlg", "Rate:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("unitTypeEditDlg", "Range:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("unitTypeEditDlg", "Note:", None, QtGui.QApplication.UnicodeUTF8))
        self.save_pb.setText(QtGui.QApplication.translate("unitTypeEditDlg", "&Save", None, QtGui.QApplication.UnicodeUTF8))
        self.cancel_pb.setText(QtGui.QApplication.translate("unitTypeEditDlg", "&Cancel", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    unitTypeEditDlg = QtGui.QDialog()
    ui = Ui_unitTypeEditDlg()
    ui.setupUi(unitTypeEditDlg)
    unitTypeEditDlg.show()
    sys.exit(app.exec_())
